package com.xieyingwangluo.yxpart.service.impl;

import com.xieyingwangluo.yxpart.entity.IntgBillModel;
import com.xieyingwangluo.yxpart.mapper.IntgBillMapper;
import com.xieyingwangluo.yxpart.service.IntgBillService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IntgBillServiceImpl implements IntgBillService {
    @Autowired
    private IntgBillMapper intgBillMapper;
    @Override
    public int add(IntgBillModel intgBillModel) {
        return intgBillMapper.add(intgBillModel);
    }

    @Override
    public int del(String noid) {
        return intgBillMapper.del(noid);
    }

    @Override
    public int update(IntgBillModel intgBillModel) {
        return intgBillMapper.update(intgBillModel);
    }

    @Override
    public IntgBillModel selO(String noid) {
        return intgBillMapper.selO(noid);
    }

    @Override
    public List<IntgBillModel> selA(IntgBillModel intgBillModel) {
        return intgBillMapper.selA(intgBillModel);
    }
}
